import { defineConfig, presetUno } from 'unocss'
import presetAnimations from 'unocss-preset-animations'
import { presetShadcn } from 'unocss-preset-shadcn'
import presetWebFonts from '@unocss/preset-web-fonts'

export default defineConfig({
  presets: [
    presetUno(),
    presetWebFonts({
      fonts: {
        //base: ['Poppins', 'sans-serif'],
        sans: ['Poppins', 'Figtree', 'Roboto'],
        //mono: ['Fira Code', 'Fira Mono:400,700'],
      },
    }),
    presetAnimations(),
    presetShadcn(),
  ],
  content: {
    pipeline: {
      include: [
        // the default
        /\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/,
        // include js/ts files
        'src/**/*.{js,ts}',
      ],
    },
  },
});
